package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.domain.entity.RoleMenu;

import java.util.List;

@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {


    List<RoleMenu> getMenusByRoleId(Integer roleId);

    void deleteByRoleId(Integer roleId);
}
